package com.ds.dsfans.magicapi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ds.dsfans.common.annotation.Excel;
import com.ds.dsfans.common.core.domain.BaseEntity;

/**
 * 脚本备份对象 magic_api_file_backup
 * 
 * @author dsfans
 * @date 2024-07-11
 */
public class MagicApiFileBackup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 原对象ID */
    private String id;

    /** 备份时间 */
    private Long createDate;

    /** 标签 */
    @Excel(name = "标签")
    private String tag;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 原名称 */
    @Excel(name = "原名称")
    private String name;

    /** 备份内容 */
    @Excel(name = "备份内容")
    private String content;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setCreateDate(Long createDate) 
    {
        this.createDate = createDate;
    }

    public Long getCreateDate() 
    {
        return createDate;
    }

    public void setTag(String tag) 
    {
        this.tag = tag;
    }

    public String getTag() 
    {
        return tag;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createDate", getCreateDate())
            .append("tag", getTag())
            .append("type", getType())
            .append("name", getName())
            .append("content", getContent())
            .append("createBy", getCreateBy())
            .toString();
    }
}
